<?php
declare (strict_types=1);

namespace addons\Concurrency\driver;

/**
 * @method static \addons\Concurrency\driver\channels\Lua Lua($key = '')
 */
class Concurrency
{

    public static function __callStatic($name, $arguments): object
    {
        $class = "addons\\Concurrency\\driver\\channels\\{$name}";
        return \think\Container::getInstance()->make($class, $arguments);
    }

}